# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pyramid-addons
_pkgname=pyramid_addons
pkgver=0.20
pkgrel=2
pkgdesc="A pyramid plugin that provides extra functionality"
options="!check" # No testsuite
url="https://github.com/bboe/pyramid_addons"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-pyramid"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-pyramid-addons" # Backwards compatibility
provides="py-pyramid-addons=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="82916783fa13fb077fbc6bd76ee194dccff49dfaa1714d35ed6bad8062886851056326e6733d6e418528f957ab96e0b568caad16f9139386c0f5668e56fa41f4  pyramid_addons-0.20.tar.gz"
